package edu.hubu.supermarketmanagementsystem.service;

import com.sun.org.apache.xpath.internal.operations.Bool;
import edu.hubu.supermarketmanagementsystem.entity.Shelves;
import edu.hubu.supermarketmanagementsystem.vo.ResultVO;

import java.util.List;

public interface ShelvesService {

    ResultVO<Boolean> addShelf(Shelves shelf);
    ResultVO<Boolean> updateShelf(Shelves shelf);
    ResultVO<Boolean> deleteShelf(int shelfId);
    ResultVO<Shelves> getShelfById(int shelfId);
    ResultVO<List<Shelves>> getAllShelves();



    List<Shelves> findShelvesByAreaId(int areaId);  // 根据区域ID查找货架
    List<Shelves> findShelvesByAdminId(int adminId);  // 根据管理员ID查找货架
}
